package top.beiermode.geektime.configuration.microprofile.config.source;

import java.util.Map;

/**
 * 动态配置源
 *
 * @author Chen Song
 * @since
 */
public class DynamicConfigSource extends MapBasedConfigSource {

    private Map configData;

    public DynamicConfigSource() {
        super("DynamicConfigSource", 500);
    }

    @Override
    protected void prepareConfigData(Map configData) throws Throwable {
        this.configData = configData;
    }

    public void onUpdate() {

    }

}
